# Contributor: rahmanshaber <rahmanshaber@yahoo.com>
# Maintainer: rahmanshaber <rahmanshaber@yahoo.com>
pkgname=libcsys
pkgver=3.0.1
pkgrel=0
pkgdesc="Library for managing a hard drive and getting system resource information in real-time."
arch="all"
url="https://gitlab.com/cubocore"
license="GPL-3.0-or-later"
depends="qt5-qtbase udisks2"
makedepends="qt5-qtbase-dev"
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/cubocore/libcsys/-/archive/v$pkgver/libcsys-v$pkgver.tar.gz"
subpackages="$pkgname-dev"
builddir="$srcdir/$pkgname-v$pkgver"
options="!check"

build() {
	qmake-qt5
	make
}

package() {
	INSTALL_ROOT="$pkgdir" make install
}

sha512sums="d90850f17327fbacf189f57cb8f56762555e8f3f6148f653105e246f55a229171311d5ee9cc9adcfa3fc45e04820258f478505dfa08326cba1ae57d571754221  libcsys-3.0.1.tar.gz"
